package com.example.tome.component_router.dagger.module;

import android.app.DialogFragment;
import android.support.v4.app.Fragment;

import dagger.Module;


/**
 * @Created by TOME .
 * @时间 2018/5/3 10:43
 * @描述 ${TODO}
 */

@Module
public class FragmentModule {

    private Fragment fragment;
    private DialogFragment dialogFragment;

    public FragmentModule(Fragment fragment) {
        this.dialogFragment = null;
        this.fragment = fragment;
    }

    public FragmentModule(DialogFragment fragment) {
        this.fragment = null;
        this.dialogFragment = fragment;
    }

}
